spl: mmc: move fs boot into its own function
authorNikita Kiryanov <[email protected]>
Sun, 8 Nov 2015 15:11:47 +0000 (17:11 +0200)
committerTom Rini <[email protected]>
Wed, 18 Nov 2015 19:50:01 +0000 (14:50 -0500)
commitf52b729393c4ec2af22f3a51a193362fc4f55e4f
treea365b8317fdce5c3d0129d68ef70353f06683f01
parentd074ebb9361f0cd23146ed9e0f443c1b0ab3c249
spl: mmc: move fs boot into its own function

Move the code that handles fs boot out of spl_mmc_load_image() and into its
own function to reduce the #ifdef complexity of spl_mmc_load_image().

No functional changes.

Signed-off-by: Nikita Kiryanov <[email protected]>
Cc: Igor Grinberg <[email protected]>
Cc: Paul Kocialkowski <[email protected]>
Cc: Pantelis Antoniou <[email protected]>
Cc: Tom Rini <[email protected]>
Cc: Simon Glass <[email protected]>
Reviewed-by: Simon Glass <[email protected]>
Reviewed-by: Tom Rini <[email protected]>
common/spl/spl_mmc.c